package org.ysu.service;

import org.ysu.entity.AdminRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 管理员角色关联表 服务类
 * </p>
 *
 * @author liushuo
 * @since 2024-08-16
 */
public interface AdminRoleService extends IService<AdminRole> {
    boolean save(Long roleId, Long[] adminIds);
    List<AdminRole> getByRoleId(Long roleId);
    Long getRoleId(Long adminId);
}
